<extend name="Public/base"/>

<block name="body">
	<!-- 标题栏 -->
	<div class="main-title">
		<h2>任务量展示</h2>

	</div>
    <div class="tools">
            <form action="{:U()}" method="post">
                选择时间：
                <input type="text" value="<?php  echo  substr($begin,0,7); ?>" name="time_start" class="date" style="width:80px;" onclick="laydate({format: 'YYYY-MM'})"> - <input type="text" value="<?php  echo  substr($end,0,7); ?>" name="time_end" class="date" style="width:80px;" onclick="laydate({format: 'YYYY-MM'})">
                <span class="buttons">
                    <input type="submit"  id="submit" class="btn" value="开始查询">
                </span>
				<a  class="btn" href="{:U('renwuadd')}">添加费用</a>
            </form>
			
    </div>

	<!-- 数据列表 -->
	<div class="data-table">
        <div class="data-table table-striped">
<table class="">
    <thead>
        <tr>
		<th class="">日期</th>
        <th class="">获取</th>
		<th class="">婚纱</th>
		<th class="">跟拍</th>
        <th class="">总计</th>
		<th class="">UV</th>
		<th class="">操作</th>
		</tr>
    </thead>
    <tbody>
	<notempty name="_list">
		<volist name="_list" id="vo">
		<tr>
			<td>{$vo.time|date="Y-m",###}</td>
			<td>{$vo.huoqu}</td>
			<td>{$vo.hunsha}</td>
			<td>{$vo.genpai}</td>
			<td>{$vo.zongji}</td>
			<td>{$vo.uv}</td>
			<td>
				<a  title="更新 " class="gengxin"  href="{:U('renwuedit?id='.$vo['id'])}"><img src="/Public/Admin/images/update.png" alt="更新"></a>
				<a class="confirm ajax-get" title="删除" href="{:U('renwudel?id='.$vo['id'])}"><img src="/Public/Admin/images/delete.png" alt="删除"></a>
            </td>
		</tr>
		</volist>
		<else/>
		<td colspan="16" class="text-center"> aOh! 暂时还没有内容! </td>
		</notempty>
        <tr>
            <td style="background-color:#51D0CA;">总计</td>
			<td style="background-color:#51D0CA;">{$zj.huoqu}</td>
			<td style="background-color:#51D0CA;">{$zj.hunsha}</td>
			<td style="background-color:#51D0CA;">{$zj.genpai}</td>
			<td style="background-color:#51D0CA;">{$zj.zongji}</td>
			<td style="background-color:#51D0CA;">{$zj.uv}</td>
			<td style="background-color:#51D0CA;"></td>
           
        </tr>
	</tbody>
    </table>

        </div>
    </div>
    <div class="page">
    </div>
</block>

<block name="script">
    <script src="__STATIC__/thinkbox/jquery.thinkbox.js"></script>
    
</block>
